package com.heitian.ssm.service;

import com.heitian.ssm.model.AddressList;
import com.heitian.ssm.util.Pager;

import java.util.List;

/**
 * Created by Zhangxq on 2016/7/15.
 */
public interface AddressListService {

    List<AddressList> selectBySearch(String search, Pager pager);

    List<AddressList> selectAllAddressList(String search);

    List<AddressList> selectRecentAddressList(String search, String place);

    AddressList findModelById(String id);

    Integer save(AddressList addressList);

    Integer update(AddressList addressList);

    Integer delete(String id);

    Integer getCount(String search);
}
